{extend name="layout/base"}
{block name="content"}
<div class="layui-card">
    <div class="layui-card-header">
        订单详情<a href="javascript:history.go(-1)" style="color: #1E9FFF;float: right;">返回上一页</a>
    </div>
    <div class="layui-card-body">
    {if is_null($SharingOrder) OR ($SharingOrder=="")}
    暂无数据
    {else /}
        <table class="layui-table">
            <colgroup>
                <col width="150">
                <col>
            </colgroup>
            <tbody>
                <tr>
                <td>ID:</td>
                <td>{$SharingOrder.shorid}</td>
                </tr>
                <tr>
                <td>商家ID</td>
                <td>{$SharingOrder.merid}</td>
                </tr>
                <tr>
                    <td>订单号:</td>
                    <td>{$SharingOrder.order_o_no}</td>
                </tr>
                <tr>
                    <td>分账单号:</td>
                    <td>{$SharingOrder.shor_no}</td>
                </tr>
                <tr>
                    <td>分账金额(元):</td>
                    <td>{$SharingOrder.amount}</td>
                </tr>
                <tr>
                    <td>分账接收方类型:</td>
                    <td>{$SharingOrder.receivers_type}</td>
                </tr>
                <tr>
                    <td>分账接收方帐号:</td>
                    <td>{$SharingOrder.account}</td>
                </tr>
                <tr>
                    <td>微信支付订单号:</td>
                    <td>{$SharingOrder.transaction_id}</td>
                </tr>
                <tr>
                    <td>分账结果:</td>
                    {if ($SharingOrder.status==2)}
                    <td>已分账</td>
                    {elseif ($SharingOrder.status==-2) /}
                    <td>已关单</td>
                    {else /}
                    <td>未分账</td>
                    {/if}
                </tr>
                <tr>
                    <td>关单原因:</td>
                    <td>{$SharingOrder.note}</td>
                </tr>
                <tr>
                    <td>时间:</td>
                    <td>{$SharingOrder.time}</td>
                </tr>
                <tr>
                    <td>描述:</td>
                    <td>{$SharingOrder.description}</td>
                </tr>
            </tbody>
        </table>
     {/if}
    </div>
</div>

{/block}